/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.web.entity;

import com.jeeplus.common.utils.excel.annotation.ExcelField;
import com.jeeplus.core.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 分销商收入记录Entity
 * @author rongjie
 * @version 2017-09-02
 */
public class WxAgentsRecording extends DataEntity<WxAgentsRecording> {

	private static final long serialVersionUID = 1L;
	private WxAgents agents;		// 分销商
	private Double money;		// 收入金额
	private String number;		// 订单号
	private Double orderMoney;		// 订单金额
	private String equipment;		// 设备
	private String total;		// 设备
	private String top;		// 设备
	private String shop;		// 设备
	private String setTime;		// 设备
	private String timeEnd;		// 设备
	private Double moneyTotal;		// 设备
    private String coupon;
    private Integer orderTime;
	private String payRemarks;
	private Integer payStatementId;
	private Integer type;



	public WxAgentsRecording() {
		super();
		this.setIdType(IDTYPE_AUTO);
	}

	public WxAgentsRecording(String id){
		super(id);
	}

	@ExcelField(title="分销商", fieldType=WxAgents.class, value="", align=2, sort=1)
	public WxAgents getAgents() {
		return agents;
	}

	public void setAgents(WxAgents agents) {
		this.agents = agents;
	}

	@ExcelField(title="收入金额", align=2, sort=2)
	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	@Length(min=1, max=32, message="订单号长度必须介于 1 和 32 之间")
	@ExcelField(title="订单号", align=2, sort=3)
	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	@ExcelField(title="订单金额", align=2, sort=4)
	public Double getOrderMoney() {
		return orderMoney;
	}

	public void setOrderMoney(Double orderMoney) {
		this.orderMoney = orderMoney;
	}

	@Length(min=1, max=60, message="设备长度必须介于 1 和 60 之间")
	@ExcelField(title="设备", align=2, sort=5)
	public String getEquipment() {
		return equipment;
	}

	public void setEquipment(String equipment) {
		this.equipment = equipment;
	}

	public String getTotal() {
		return total;
	}

	public void setTotal(String total) {
		this.total = total;
	}

	public String getTop() {
		return top;
	}

	public void setTop(String top) {
		this.top = top;
	}

	public String getShop() {
		return shop;
	}

	public void setShop(String shop) {
		this.shop = shop;
	}

	public String getSetTime() {
		return setTime;
	}

	public void setSetTime(String setTime) {
		this.setTime = setTime;
	}

	public String getTimeEnd() {
		return timeEnd;
	}

	public void setTimeEnd(String timeEnd) {
		this.timeEnd = timeEnd;
	}

	public Double getMoneyTotal() {
		return moneyTotal;
	}

	public void setMoneyTotal(Double moneyTotal) {
		this.moneyTotal = moneyTotal;
	}

	public String getCoupon() {
		return coupon;
	}

	public void setCoupon(String coupon) {
		this.coupon = coupon;
	}

	public Integer getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(Integer orderTime) {
		this.orderTime = orderTime;
	}

	public String getPayRemarks() {
		return payRemarks;
	}

	public void setPayRemarks(String payRemarks) {
		this.payRemarks = payRemarks;
	}

	public Integer getPayStatementId() {
		return payStatementId;
	}

	public void setPayStatementId(Integer payStatementId) {
		this.payStatementId = payStatementId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
}
